package com.starlink.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.springframework.data.domain.Pageable;
import com.starlink.model.domain.FreeDeliverySetDO;
import com.starlink.model.request.FreeDeliverySetRequest;
import com.starlink.model.vo.FreeDeliverySetVO;

import java.util.List;

/**
 * @author zhanghong
 */
public interface FreeDeliverySetService extends IService<FreeDeliverySetDO> {


    /**
     * 新增
     * @param request
     * @return
     */
    Boolean add(FreeDeliverySetRequest request);
    /**
     * 根据主键更新
     * @param request
     * @return
     */
    Boolean updateByKey(FreeDeliverySetRequest request);

    FreeDeliverySetVO selectOne();

}
